//
//  secondReusableView.m
//  面包旅行
//
//  Created by Sunpeng on 15/11/5.
//  Copyright © 2015年 Sunpeng. All rights reserved.
//

#import "secondReusableView.h"

@implementation secondReusableView
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        //self.label = [[UILabel alloc]initWithFrame:CGRectMake(5, 5, 0.533*WIDTH, 0.045*HEIGHT)];
        self.label = [[UILabel alloc]init];
        self.label.font = [UIFont systemFontOfSize:15*XHIGHT];
        [self addSubview:self.label];
        
        
        self.leftImage = [[UIView alloc] initWithFrame:CGRectMake(8*XWIDTH, 10*XHIGHT, 8*XWIDTH, 18*XHIGHT)];
        self.leftImage.layer.masksToBounds = YES;
        self.leftImage.layer.cornerRadius = 2.0;
        self.leftImage.backgroundColor = [UIColor colorWithRed:0.29 green:0.74 blue:0.79 alpha:1];
        [self addSubview:self.leftImage];
    }
    return self;
}

@end
